package com.bookstore.web;

/**
 * @ClassName: CriteriaBook
 * @Description: TODO(封装book价格查询条件的CriteriaBook类)
 * @author Administrator liy
 * @date 2017年5月25日
 */
public class CriteriaBook {

    private float minPrice = 0;
    private float maxPrice = Integer.MAX_VALUE;

    private int pageNo;

    public float getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(float minPrice) {
        this.minPrice = minPrice;
    }

    public float getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(float maxPrice) {
        this.maxPrice = maxPrice;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public CriteriaBook(float minPrice, float maxPrice, int pageNo) {
        super();
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
        this.pageNo = pageNo;
    }

}
